<?php

class ClassWithVar
{
    public $foo;
    public $bar;
    
    public function __construct( $foo, $bar )
    {
        $this->foo = $foo;
        $this->bar = $bar;
    }
}
